﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TestService.ServiceReference1;
using System.ServiceModel;

namespace TestService
{
    public class MReviewerService
    {
        private static ISvcMReviewer instance;

        public static ISvcMReviewer Instance
        {
            get
            {
                if(instance == null)
                    instance = new ChannelFactory<ISvcMReviewer>("BasicHttpBinding_ISvcMReviewer").CreateChannel();
                return instance;
            }
        }
    }
}
